package com.yuan.api.fallback;

import com.yuan.api.ITestService;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class FallbackItt implements ITestService {
    @Override
    public String test(@RequestParam("name") String name) {
        System.out.println("熔断");
        return "超时啦";
    }
}
